package com.woniuxy.carrental.service;

import com.woniuxy.carrental.entity.RentCarInfo;

import java.util.List;

/**
 * @author author
 * @create 2021-10-02 21:57
 */
public interface RenrCarInfoService {

    public List<RentCarInfo> selectAllRentCarInfo(
             RentCarInfo rentCarInfo,
             Integer pageIndex, Integer pageSize);

    public void addRentCarInfo(RentCarInfo rentCarInfo);

    public void updateRentCarInfo( RentCarInfo rentCarInfo);

    public int selectRentCarInfoCountBylimit( RentCarInfo rentCarInfo);

    public void delectRentCarInfoCountByid(int rentcarid);

    public List<RentCarInfo> getallRentCarInfo();

    RentCarInfo getRentCarInfoByCarnumber(String car_number);

    public void updateStareByrentcarid(int rentcarid);

}
